﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Landscape.Vessel.Business.Entities
{
    public class SystemModule
    {
        public SystemModule()
        {
            this.ID = Guid.Empty;
        }

        public virtual Guid ID
        { get; set; }

        public virtual string Name
        { get; set; }

        public virtual string Description
        { get; set; }

        public virtual string Url
        { get; set; }

        public virtual int IndexNumber
        { get; set; }

        public virtual Guid? ParentModule
        { get; set; }

        public virtual bool IsLeaf
        { get; set; }

        public virtual bool IsDisabled
        { get; set; }

        public virtual bool IsDeleted
        { get; set; }

        public virtual string Location
        { get; set; }

        public virtual IList<SystemModulePrivilege> Privileges
        { get; set; }
    }
}
